<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>Metaverse  Game</title>
  <link rel="shortcut icon" href="/images/favicon.ico">
  <link rel="stylesheet" href="/css/swiper.min.css">
  <link rel="stylesheet" href="/css/index.css">
  <link rel="stylesheet" href="/css/animate.css">
  <link rel="stylesheet" href="/css/bootstrap.css">
  <link rel="stylesheet" href="/css/bootstrap.min.css">

</head>

<body>
  <div class="s-language ">
    <div class="s-sub">
      <h1><a>中文</a><span>></span></h1>
      <ul>
        <li class="on"><a href="index1.html">中文</a></li>
        <li><a href="index2.html">EN</a></li>
        <!-- <li ><a href="index.html" >韩文</a></li> -->
      </ul>
    </div>
  </div>
  </div>
  <!--header-->
  <div class="m-wrap g-header">
    <div class="m-box">
      <div class="s-logo"> <a href="index.html"><img src="/images/logo_03.png" alt="logo"></a> </div>
      <div class="s-aside">
        <div class="s-nav s-pc">
          <ul>
            <li><a href="home.html">首页</a></li>
            <li><a href="{{url('/invite')}}">我的邀请</a></li>
            <li><a href="control.html">风控体系</a></li>
            <li><a href="{{url('/lp')}}">LP矿池</a></li>
            <li><a href="destory.html">销毁矿池</a></li>
            <li><a href="finance.html">财务记录</a> </li>
            <li><a href="contract.html">合约详情</a> </li>
            <li><a href="token.html">代币详情</a> </li>
            <li><a href="dialog.html">弹窗</a> </li>
          </ul>
        </div>
        <div class="s-menu s-wap"> <a href="#" class="wap-menu"></a> </div>
      </div>
    </div>
  </div>
  <!--wap-sub-->
  <div class="wap-sub s-wap">
    <div class="s-main">
      <div class="s-row">
        <h3><span><a href="{{url('/')}}">首页</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/invite')}}">我的邀请</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/control')}}">风控体系</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/lp')}}">LP矿池</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/destory')}}">销毁矿池</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/finance')}}">财务记录</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/contract')}}">合约详情</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <h3><span><a href="{{url('/token')}}">代币详情</a></span><img src="/img/right-arrow.svg" alt="right-arrow"></h3>
      </div>
      <div class="s-row">
        <div class="s-sub1">
          <ul>
            <li class="on"><a href="{{url('/')}}">中文</a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>

  {{ $slot }}

  <!--partner-->

  <!-- Swiper JS -->
  <script src="/js/swiper.min.js"></script>
  <script src="/js/jquery-3.5.1.min.js"></script>
  <script src="/js/bootstrap.min.js"></script>
  <script src="/js/wow.min.js"></script>
  <script src="/js/index.js"></script>
  <script src="/js/app.js"></script>
  <script src="/js/tp.js"></script>
  <script src="/js/axios.min.js"></script>
  <script src="/js/moment.min.js"></script>
  <script src="/js/tronweb.js"></script>

  <!-- Initialize Swiper -->
  <script>
    //当前服务器地址
    axios.defaults.baseURL = '{{$mgapi}}';
    axios.defaults.headers.post['Accept-Language'] = 'zh';
    axios.defaults.headers.post['Content-Type'] = 'application/json';

    trList = ['leftUp', 'moveRight', 'moveDown', 'centerBig', 'rightDownBig'];
    var swiper = new Swiper('.banner .swiper-container', {
      speed: 500,
      autoplay: 3000,
      autoplayDisableOnInteraction: false,
      effect: 'fade',
      pagination: '.swiper-pagination',
      // 如果需要前进后退按钮
      // 如果需要前进后退按钮
      nextButton: '.swiper-button-next',
      prevButton: '.swiper-button-prev',
      paginationClickable: true,
      onSlideChangeStart: function(swiper) {
        nextSlide = swiper.slides.eq(swiper.activeIndex);
        nextSlide.addClass(trList[Math.floor(Math.random() * 5)]);
      },
      onSlideChangeEnd: function(swiper) {
        prevSlide = swiper.slides[swiper.previousIndex];
        prevSlide.className = "swiper-slide";
      },
    });

  </script>

</body>

</html>